"""
The MIT License (MIT)
Copyright © 2022 Walkline Wang (https://walkline.wang)
Gitee: https://gitee.com/walkline/espnow-remote-controller
"""
import esp

esp.osdebug(None) # 注释此行可显示详细调试信息


class Config(object):
	class PINS(object):
		BAT_ADC_EN = 21

		class ADC(object):
			X1 = 0
			Y1 = 1
			X2 = 2
			Y2 = 3
			JOYSTICK_PINS = (X1, Y1, X2, Y2)
			JOYSTICK_1_PINS = (X1, Y1)
			JOYSTICK_2_PINS = (X2, Y2)

			BAT = 4

		class KEYS(object):
			KEY_1 = 20
			KEY_2 = 5

			KEY_BOOT = 9

		class OLED(object):
			SCLK = 6
			SDIN = 7
			RES = 8
			DC = 10
			# CS bind to ground
